package com.Txunda.fxw.ui.activity.other;

import android.os.Bundle;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.widget.TextView;

import com.Txunda.fxw.R;
import com.Txunda.fxw.ui.base.BaseAty;
import com.lidroid.xutils.view.annotation.ViewInject;

public class WechatIntroduceAty extends BaseAty {

    @ViewInject(R.id.aty_title3_tv_center)
    private TextView aty_title3_tv_center;
    @ViewInject(R.id.wechat_web)
    private WebView wechat_web;
    private WebSettings set;
    private String wechat_content;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        set = wechat_web.getSettings();
        set.setTextSize(WebSettings.TextSize.SMALLER);
        wechat_content = getIntent().getExtras().getString("wechat_content");
        wechat_web.loadDataWithBaseURL(null, wechat_content, "text/html", "utf-8", null);
    }

    @Override
    protected int getLayoutResId() {
        return R.layout.aty_wechat_introduce;
    }

    @Override
    protected void initialized() {
        aty_title3_tv_center.setText("微信介绍");
    }

    @Override
    protected void requestData() {

    }


}
